package com.kgc.warehouse.bussness.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName bus_salesback
 */
@TableName(value ="bus_salesback")
@Data
public class Salesback implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer customerid;

    /**
     * 
     */
    private String paytype;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date salesbacktime;

    /**
     * 
     */
    private Double salebackprice;

    /**
     * 
     */
    private String operateperson;

    /**
     * 
     */
    private Integer number;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Integer goodsid;

    @TableField(exist = false)
    private String customername;

    @TableField(exist = false)
    private String goodsname;

    @TableField(exist = false)
    private String size;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}